package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbAppr;
import com.bwie.service.TbApprService;
import com.bwie.mapper.TbApprMapper;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 39304
* @description 针对表【tb_appr(供应商表)】的数据库操作Service实现
* @createDate 2025-05-27 19:06:14
*/
@Service
public class TbApprServiceImpl extends ServiceImpl<TbApprMapper, TbAppr>
    implements TbApprService{
    @Autowired
    TbApprMapper tbApprMapper;

    @Override
    public Result getApprListAll() {
        List<TbAppr> tbApprs = tbApprMapper.selectList(null);
        return Result.ok().setData(tbApprs);
    }
}




